From 1409287078e998520ab16328215b1cff3a4cf0c3 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 16 Mar 2006 18:43:07 +0100 Subject: [PATCH] Change the VNC main input loop delay from 1 second down to 10 msec. The 1 second delay was causing significant latency problems with the mouse while there is no measurable overhead in lowering the delay down to 10 msec. Signed-off-by: Don Dugger --- tools/ioemu/target-i386-dm/helper2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ioemu/target-i386-dm/helper2.c b/tools/ioemu/target-i386-dm/helper2.c index 14341f3d18..af4a8e8d8b 100644 --- a/tools/ioemu/target-i386-dm/helper2.c +++ b/tools/ioemu/target-i386-dm/helper2.c @@ -447,9 +447,9 @@ int main_loop(void) } } - /* Wait up to one seconds. */ + /* Wait up to 10 msec. */ tv.tv_sec = 0; - tv.tv_usec = 100000; + tv.tv_usec = 10000; retval = select(highest_fds+1, &wakeup_rfds, NULL, NULL, &tv); if (retval == -1) { -- 2.30.2